package ru.sanluck.books;

import org.mapstruct.Mapper;
import ru.sanluck.lib.BookReader;
import ru.sanluck.lib.BookReaderEntity;

@Mapper(componentModel = "spring")
public interface BookReaderMapper {
    BookReaderEntity toEntity(BookReader book);
    BookReader toDomain(BookReaderEntity bookEntity);
}
